<template>
  <div ref="fiKerCharts" class="charts">

  </div>
</template>
<script setup>
import { ref, onMounted } from "vue"
import { FiKerCharts } from "@/utils/FiKerCharts.js"

let defProps = defineProps(["chartsOption"])

let fiKerCharts = ref()

// let options = {
//   tooltip: {
//     trigger: 'axis'
//   },
//   color: '#06f',
//   xAxis: {
//     type: 'category',
//     data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
//   },
//   yAxis: {
//     type: 'value'
//   },
//   series: [
//     {
//       data: [150, 230, 224, 218, 135, 147, 260],
//       type: 'line'
//     }
//   ]
// };

onMounted(() => {
  new FiKerCharts(fiKerCharts.value, defProps.chartsOption)
})
</script>
<style scoped>
@import url("@/styles/NavCss/FiKerChartsNav.css");
</style>